﻿using System;

namespace MosCraft.Blocks
{
	class BlockGrass : Block
	{
        public BlockGrass(int id)
            : base(id, 3, Material.Grass)
        {
        }

        public override int getBlockTexture(BlockFace face)
        {
            if (face == BlockFace.Top)
            {
                return 0;
            }
            else if(face == BlockFace.Bottom)
            {
                return 2;
            }
            else 
            {
                return base.textureUV;
            }
        }
	}
}
